// 页头/登录注册部分
header{
    width: 100%;
    font-size: 14px;
}
#login{
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #ccc;
}
#login div,#login>span{
    float: right;
    margin-right: 30px;
    color: gray;
}
#login>span{
    font-size: 18px;
}
#login span:hover{
    cursor: pointer;
    color: black;
}
//页头/导航部分
#nav{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#nav>ul{
    display: flex;
    height: 100px;
    line-height: 100px;
}
#nav>ul li{
    cursor: pointer;
    margin-left: 40px;
    font-size: 18px;
    font-weight: bold;
}
#nav>ul li:hover{
    border-bottom: 4px solid orangered;
}
#nav img{
    width: 60px;
    height: 60px;
    cursor: pointer;
}
#nav .search{
    border: 1px solid #ccc;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
}
#nav button{
    background-color: #fff;
    width: 30px;
    border: 0;
    cursor: pointer;
}
#nav input{
    width: 150px;
    border: 0;
}

// 海报
#poster{
    border-bottom: 2px solid black;
    cursor: pointer;
}
#poster img{
    width: 100%;
    height: 100%;
}

//猜你喜欢
#like{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#like h1{
    margin-top: 40px;
    font-weight: normal;
    font-size: 50px;
    color: rgb(58, 58, 58);
}
#like>a{
    margin-top: 20px;
    color: #fff;
    padding: 10px 20px;
    background-color: rgb(58, 58, 58);
}
.swiper-container {
    width: 1200px;
    height: 330px;
    padding-top: 20px;
    margin: 40px auto;
    border: 1px solid #999;
    box-shadow: 1px 1px 5px;
    border-radius: 20px;
}
.swiper-slide {
    cursor: pointer;
    text-align: center;
    width: 400px;
    height: 300px;
    text-align: center;
    font-size: 16px;
    color: gray;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
    img{
        width: 250px;
        height: 250px;
    }
    p{
        margin-top: 20px;
        width: 350px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

// 关注我们
#followUs{
    width: 100%;
    padding: 50px 0;
    background-color: red;
    color: #fff;
    text-align: center;
    h1{
        font-style: italic;
    }
    h3{
        margin: 20px 0;
        font-style: italic;
        font-weight: normal;
    }
    a{
        color: #fff;
        position: relative;
        div{
            display: none;
            position: absolute;
            top: -230px;
            left: -40px;
            img{
                width: 180px;
                height: 180px;
            }
        }
    }
    a:hover div{
        display: block;
    }
    span{
        font-size: 80px;
        margin: 0 20px;
    }
}

//页脚
footer{
    width: 100%;
    height: 265px;
    background-color: rgb(58, 58, 58);
}
footer>img{
    width: 250px;
    height: 265px;
    float: left;
}
footer>div{
    width: 900px;
    height: 190px;
    float: right;
}
footer .top{
    padding-top: 50px;
}
footer .server{
    float: left;
    padding-left: 90px;
    width: 360px;
    height: 100px;
    border-right: 1px solid #fff;
    h4{
        color: #fff;
        font-size: 18px;
        font-weight: normal;
        line-height: 50px;
        height: 50px;
    }
    span{
        font-size: 20px;
        margin-left: 20px;
        font-weight: normal;
        line-height: 50px;
    }
}
footer .server .iconfont{
    cursor: pointer;
}
footer .vx {
    float: left;
    height: 100px;
    padding-left: 90px;
    padding-top: 5px;
}
footer .bottom{
    line-height: 20px;
    margin-top: 30px;
    padding-left: 30px;
    color: #fff;
    font-size: 14px;
    a{
        color: #fff;
    }
}

//返回顶部
#floater{
    width: 60px;
    height: 270px;
    color: #fff;
    font-size: 12px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 60px;
    text-align: center;
    position: fixed;
    right: 50px;
    bottom: 60px;
}
#floater div{
    width: 48px;
    height: 70px;
    margin: 0 auto;
    padding-top: 20px;
    cursor: pointer;
    span{
        font-size: 40px;
    }
}
#floater a{
    width: 48px;
    height: 70px;
    display: block;
    margin: 0 auto;
    color: #fff;
    margin: 0 auto;
    padding-top: 20px;
    span{
        font-size: 40px;
        padding-top: 10px;
    }
}
#floater a:nth-child(2){
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}